package com.yljk.servicemanager.constants;

import com.yilijk.base.AppBase;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * Created by SHICHENG
 * <p>
 * Time on 2022/03/08
 */

public interface ConfigApi {
    
    String refreshMain = "refreshMain";
    String savaBitmap = "savaBitmap";
    String refreshHome = "refreshHome";
    String finishWel = "finishWel";
    String refreshHome_getChargeData = "refreshHome_getChargeData";//更新我的问诊
    String refreshMy = "refreshMy";
    String receiverMsg = "receiverMsg";
    String receiverCMDMsg = "receiverCMDMsg";
    String receiverUser = "receiverUser";
    String receiverMsgType = "receiverMsgType";
    String recallMessage = "recallMessage";
    String refreshRecall = "refreshRecall";
    String islogin = "islogin";
    String isLogout = "isLogout";
    String tabIndex = "tabIndex";
    String changeTab = "changeTab";

    //      final  String constants
    String tag = "tag";
    //"/data/data/应用名/files"
    String voiceUrl = AppBase.getApplication().getFilesDir().getPath()+"/voice";

    @Retention(RetentionPolicy.SOURCE)
    @interface Open{
        public static final boolean isRSA = true;
        /**
         * 是否开启接口鉴权
         */
        public static final boolean isOpenAttestation = true;
        //RN 在线升级 上线为true
        public static final boolean isRnUpdata = true;
        public static final boolean isAndroidDomin = true;
        //是否开启环信私有化 上线为true
        public static final boolean isRestServer = true;
        //直播
        boolean isOpenLive = true; //已上线
        //是否显示直播列表
        boolean isOpenLiveList = true;//已上线
        //会议
        boolean isOpenMeeting = true;//已上线
        //视频问诊
        boolean isOpenVideo = true;//已上线
        //是否开启二维码扫描
        boolean isOpenScan = false;
        //是否开启离线推送
        boolean isOpenUnlinePush = true;
        //是否是新版个人页面
        boolean isNewMine = true;//已上线
        //是否打开微课堂功能模块
        boolean isOpenWeClass = true;//已上线
        //是否打开医生工作室功能模块
        boolean DoctorStudio = true;
        //引导住院医前往开通升级
        boolean GuideOpenAndUp = true;//已上线
        //群聊
        boolean isOpenGroup = true;
        //埋点开关
        boolean isOpenSendEvent = true;//已上线
    }
    

}
